home *** CD-ROM | disk | FTP | other *** search
/ Champak 120 / Vol 120.iso / games / bounce_c.swf / scripts / DefineSprite_33_bit / frame_26 / DoAction.as
Text File  |  2010-11-09  |  308b  |  13 lines

  1. _root.totalScore = _root.totalScore + _root.bitValue + _root.chainCrush * 30;
  2. if(_root.chainLink > 0)
  3. {
  4.    _root.chainCrush += 1;
  5. }
  6. _root.chainLink = _root.chainLinkMax;
  7. if(_root.sound_on == true)
  8. {
  9.    boomSound = new Sound(this);
  10.    boomSound.attachSound("fxSquish");
  11.    boomSound.start(0,1);
  12. }
  13.